package com.base.po.coupon_sdk;

public class CouponConfig {
    public final static String APPID = "9038";
    public final static String TRADE_KEY = "yYFX6a7asYmchEXeWbiptMbWdj7bBn7H";

    /**
     * 正式环境
     */
    private static String FORMAL_CONTEXT = "http://api.jfshou.cn:11140/api/";
    /**
     * 测试环境
     */
    private static String TEST_CONTEXT = "http://test.api.365taoquan.cn:11140/api/";
    /**
     * 使用环境
     */
    private static String USE_CONTEXT = TEST_CONTEXT;

    public static final String QUERY_PRODUCT = USE_CONTEXT + "product/queryProductDetailByProductId";// 查询商品信息
    public static final String QUERY_STOCK = USE_CONTEXT + "stock/queryByProductId";// 查询商品库存
    public static final String PAY_ORDER = USE_CONTEXT + "orderV2/payOrder";// 创建订单
    public static final String QUERY_ORDER = USE_CONTEXT + "orderV2/queryOrderStatus";// 订单状态查询
    public static final String REFUND_ORDER = USE_CONTEXT + "orderV2/refund";// 退款申请
}
